package com.orhonit.ipb.portal.biz;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.orhonit.ipb.portal.entity.JoEducationInvestigation;
import com.orhonit.ipb.portal.mapper.JoEducationInvestigationMapper;
import com.orhonit.ipb.security.common.biz.BusinessBiz;


/**
 * 考察教育表
 *
 * @author 
 * @email 
 * @version 2018-05-22 08:50:05
 */
@Service
public class JoEducationInvestigationBiz extends BusinessBiz<JoEducationInvestigationMapper,JoEducationInvestigation> {

	@Autowired
	private JoEducationInvestigationMapper joEducationInvestigationMapper;
	/**
	 * 通过申请id及type查询
	 * @param map
	 * @return List<JoEducationInvestigation>
	 */
	public JoEducationInvestigation getJoEducationInvestigationlist(String id){
		return joEducationInvestigationMapper.getJoEducationInvestigationlist(id);
	}
	/**
	 * 通过申请id及type 及何种类型查找
	 * @param map
	 * @return JoEducationInvestigation
	 */
	public List<JoEducationInvestigation> getJoEducationInvestigationBymap(Map<String, Object> map){
		return joEducationInvestigationMapper.getJoEducationInvestigationBymap(map);
	}

}